package com.zhaoxi.project.wms.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhaoxi.framework.aspectj.lang.annotation.Excel;
import com.zhaoxi.framework.web.domain.BaseEntity;
import lombok.Data;

/**
 * 物品订单明细对象 wms_order_line
 *
 * @author zhaoxi
 * @date 2023-07-22
 */
@Data
public class WmsOrderLine extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 库单ID
     */
    private Long id;
    /**
     * 库单ID
     */
    private Long LineId;

    private String productCode;

    /**
     * 产品名称
     */
    private  String productName;

    /**
     * 批次号
     */
    private String batchCode;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String measureUnit;

    /**
     * 商品单价
     */
    @Excel(name = "商品单价")
    private Double price;

    /**
     * 入库数量
     */
    @Excel(name = "入库数量")
    private Double quantity;

    /**
     * 入库数量
     */
    @Excel(name = "总金额")
    private Double totalMoney;
    /**
     * 入库数量
     */
    @Excel(name = "应收金额")
    private Double costMoney;
    /**
     * 入库数量
     */
    @Excel(name = "优惠金额")
    private Double discountMoney;
    /**
     * 入库数量
     */
    @Excel(name = "实收金额")
    private Double money;

    /**
     * 库位ID
     */
    @Excel(name = "库位ID")
    private Long areaId;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;


    /**
     * 有效期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireDate;
    /**
     * $column.columnComment
     */
    @Excel(name = "租户", readConverterExp = "租户")
    private Long tenantId;

}
